package top.eggcode.system.modules.dict.model;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import top.eggcode.common.base.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Title: 字典数据
 * Description: TODO
 * Date: 2021/4/4 23:38
 *
 * @author JiaQi Ding
 * @version 1.0
 */
@ApiModel("字典项")
@Data
@Table(name = "system_word")
@Entity
public class WordEntity extends BaseEntity {

    /**
     * 关联字典
     */
    private String dictId;

    /**
     * 用于视图显示
     */
    private String name;

    /**
     * 编码：1，2，3...
     */
    private String value;

    private String remark;

    /**
     * 排序编号
     */
    private Integer sequence;
}
